package com.ruoyi.dynamic.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;


@Getter
@Setter
@Accessors(chain = true)
@TableName("youban_room_vote_music")
@ApiModel(value = "RoomVoteMusic对象", description = "房间歌曲投票")
public class RoomVoteMusic extends BaseEntity<RoomVoteMusic> {

    @ApiModelProperty("房间id")
    private Long roomId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("投票标题")
    private String title;

    @ApiModelProperty("投票时长")
    private Integer voteTime;

    @ApiModelProperty("0未开始1进行中2已结束")
    private Integer status;

    @ApiModelProperty("是否模板")
    private Integer isTemplate;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @Schema(description = "来自id")
    private Long fromId;

}
